package com.lx.biz;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.lx.domain.SharingResource;

public interface IResourcebiz {
	
	public List<SharingResource> listSharingResource(String rows ,String page , String sort ,String order ,String ResourceName ,String date_from ,String date_to);
	
	public int countResource(String rows ,String page , String sort ,String order ,String ResourceName ,String date_from ,String date_to);
	
	public int countAll(String resourceType) ;
	
	public int delResource(String ids) ;
	
	public String resourceAdd(SharingResource sharingResource) ;
	
	public List<SharingResource>  resourcelist(String rows ,String page , String sort ,String order ,String ResourceName ,String ResourceType) ; 
	
	public List<SharingResource> resListType(String rows ,String ResourceType) ;
	
	public SharingResource findById(String id) ;
	
	public List<SharingResource> findResourceByNameType(String ResourceName ,String ResourceType ,int pageIndex ,int pageSize);
	
	public int countByNameType(String ResourceName ,String ResourceType) ;

}
